﻿using ReactiveUI;

namespace WpfApp1
{
    public class CommonWindow<TViewModel> : ReactiveWindow<TViewModel> where TViewModel : ReactiveObject
    {
        public CommonWindow()
        {
            this.DataContext = ServiceHelper.GetService<TViewModel>();
        }
    }
}
